<font id="usercenter_giftcard">
<div class="users_main_dingdan" id="product_1" name="product_detas">
	 <div class="users_main_dingdan_bg" style="margin-top:20px; display:inline;">
		<Div class="users_dingdanbg_left"></Div>
		<Div class="users_dingdanbg_center">
			<div style="width:150px; padding:0px 20px;">礼品卡号</div>
			<div style="width:150px;">面值</div>
			<div style="width:240px;">余额</div>
			<div style="width:150px;">有效期</div> 
		</Div>
		<Div class="users_dingdanbg_right"></Div>
	</div>
	<div class="users_main_dingdantiao_main">
		<?php $_from = $this->_var['giftcard']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['item']):
?>
		<?php if ($this->_var['item']['status'] == "未使用"): ?>
		<div class="users_main_dingdantiao">
			<div class="user_ddtiao_name" style="width:150px; padding:0px 20px;"><?php echo $this->_var['item']['bonus_sn']; ?></div>                                        
			<div class="user_ddtiao_name" style="width:150px; color:#4e9800;"><?php echo $this->_var['item']['type_money']; ?></div>
			<div class="user_ddtiao_name" style="width:240px; color:#4e9800;"><?php echo $this->_var['item']['bonus_balance']; ?></div>
			<div class="user_ddtiao_name" style="width:150px;">
			至<span style="padding:0px 10px;"><?php echo $this->_var['item']['use_enddate']; ?></span>
			</div> 
		</div>
		<?php endif; ?>
		<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
	</div>
</div>
</font>